package com.gxar.quick.ar.server.base.common.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

/**
 * 短信配置
 *
 * @author linsy
 * @version 1.0
 * @created 2023/11/16 14:27
 */
@Data
@Component
@ConfigurationProperties(prefix = "sms")
@RefreshScope
public class SmsProperties {

    /**
     * 是否开启
     */
    private boolean enable;
    /**
     * 兑换品
     */
    private ExchangeSendProperties exchange;

    {
        enable = false;
    }


}
